package main

import (
	"bufio"
	"fmt"
	"os"
	"strings"
)

func main() {
	str, _ := bufio.NewReader(os.Stdin).ReadString('\n')
	strNums := strings.Split(str, " ")
	fmt.Println(strNums)
	fmt.Print(len(strNums[len(strNums)-1]))

}
